package com.gy.niuer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName appointment
 */
public class Appointment implements Serializable {

    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    private Patient patient;

    private Doctor doctor;

    private Date time;

    private Integer num;

    private Clinic clinic;

    private Integer fees;

    private Date generate;

    private String state;

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }


    /**
     * 
     */
    public Date getTime() {
        return time;
    }

    /**
     * 
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * 
     */
    public Integer getNum() {
        return num;
    }

    /**
     * 
     */
    public void setNum(Integer num) {
        this.num = num;
    }


    /**
     * 
     */
    public Integer getFees() {
        return fees;
    }

    /**
     * 
     */
    public void setFees(Integer fees) {
        this.fees = fees;
    }

    /**
     * 
     */
    public Date getGenerate() {
        return generate;
    }

    /**
     * 
     */
    public void setGenerate(Date generate) {
        this.generate = generate;
    }

    /**
     * 
     */
    public Object getState() {
        return state;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(Doctor doctor) {
        this.doctor = doctor;
    }

    public Clinic getClinic() {
        return clinic;
    }

    public void setClinic(Clinic clinic) {
        this.clinic = clinic;
    }

    public void setState(String state) {
        this.state = state;
    }

}